package zunyi04;

/**
 * 测试类
 */
public class AccountTest {
    public static void main(String[] args) {
        Account account = new Account(1122,20000,0.045);
        account.withdraw(3000);
        System.out.println("账户剩余"+account.getBalance());
        account.withdraw(2500);
        account.deposit(3000);
        System.out.println("账户剩余"+account.getBalance());
        account.MinthlyInterestRate();
    }
}
